Added request for input

- Main will now ask for additional input if not all input was added
- read now reads the amount of inputs the program requires
- Added some extra functions to core to store the amount of inputs that is recquired