added collision detection between player and blocks, and started on some more interesting functionality for blocks