Change printPosition to not need so many println, used interpolation with system.out
Add comment to explain equal checking method