Scrapped some useless methods and added checking of valid positions for
ship placement.