Added .gitignore, and a new Exception calss
RegisterOutOfBoundsException.java