Adding map partition system

Adding a system to divide the entities into sections for collision checking. This is needed for scaling up the game later, so entities can check collisions only with others near them.