added code for ship selection and placement