Create Model.java

serves as our model class, wraps a boolean grid and an arraylist of entities