Implements check function
pretty colors
Adds code to prevent putting self in check
Adds checkmate and draw