Fixed a bug in Boat.java