Create ObjectsToHit.java

The class ObjectsToHit allows the program to check if Mario can go to a set coordinate.