Added optional up-key for rotate and colors to pieces

I loved it! 

But found it hard to use space as rotation key (just a personal preference), so I added the up-key as an optional rotate key (Space still works :) ). 

Also, I wanted more colors, so I added individual colors per piece with a piece.type index.
piece.type = 0 --> class is set0 , and so forth.


It was really fun to hack your code :). Structured and neat.