Take the dimensions of objects into account

Take the dimensions of objects into account when calculating which objects are on which tiles.
Merge pull request #3 from ChristopherCarpenter/master

Take the dimensions of objects into account