Added horizantal collision detection
Added all piece types for generation
Minor code refactor