Added methods to filter non-number inputs

All scenarios where the program asks for an user input have been moved
to their respective methods. Those methods are made to be reusable.
Maybe error will go away if I submit these files

These 2 files should do absolutely nothing