Added scanner for int x
First part of TERM working and used multiple print lines to show work
First test works but not a loop due to preTerm and preSum being set numbers