Add .gitignore
Implement InputValidator.java for user input validation