*java version was changed to 1.8
*now the lowest point of figure is used for choosing best move (instead of central point)
*now count of gaps under figure is also considered in choosing the best move
*some refactoring
support of all other figure was implemented