added proper print method, added check for moves and jumps
added tests