input commit

Added query to take in input and increment guess count. Page keeps auto
refreshing when I hit the submit button