Parse numbers from input fields

Should allow user input (closes #4). Need to think of a better way to
read input than just extracting numbers.