Changes on Nov.19 night

checkPosition() checks the place to place the block now.
Fixed an error in clearLine(): now it copy fields, not references.
Added test for clearLines()