Created method for placing ships upto 5 cells in length