letter to number, placing ships by orientation