Create InvalidInputException.java

This is an exception intended for being thrown when invalid input