FIXED coordinates

Added some functions.
TO DO:
- scoring;
- re do the learn()