ship length generated randomly