Refactoring. Move BaseFigure class.
Top/bottom borders. Moving up figure in start positions if position has empty rows.
Keyboard events
Add new figure when previous figure moving to the end