Added parameter i to move method to represent the floors in the building