a - moves down b - moves up c - moves left d - moves right e - moves right and left for ever by changing x f - moves up and down for ever by changing y