I am trying to implement a loop as - BuildShip