Fixed some bugs

-Fixed a bug when in certain circumstances you could first move king and
without enemy move you could beat his piece
-Fixed a bug when in certain circumstances after beating enemy piece and
having possibility you could not continue beating
There were some other bugs but i forgat what they were:)