Refractored code, board collision detection

Refractored existing code a bit. Added collision detection functionality
for the board, and some code that will be useful for the future
collision detection with the other blocks. Movement is to fast, but does
multiply all movement by delta time, so a faster or slower system will
not go faster or slower.