Implemented basic collision detection

For some reason it stops one square away from the bottom. Also
blocks will stick to the sides of other blocks.