change to main()

main() now takes in all numbers from input