Create Grid.java

Use putActor and isValid to do Fence.java