Bug fix: Round-off bug

Fixed by adding the new Obstacle class, instead of using the default
Java class Point.