Created a Block Factory

Implemented block factory to handle block creation throughout the game.