Computer move implemented

Implemented computer move (button on bottom right). Also fix for
recognising check mate.