add matrix.js functions
refactor tetromino.js
add Tetromino.js (unit tests pass)
add tests and fix a bug in getSquares()
add a little optimization
interface design complete, needs unit tests