Update Ship.java

made methods private