American options pricing using HJM methodology