add few utilities functions to improve code readability ; change the old representation of lines and create a Line class
add getters and a static distance() method to point2D class ; improve needed functions so that pacman can now freely move using the keyboard