public static void main(String[] args){
		Boat.createBoat("RaceBoat");
		Boat boat = Boat.getInstance();
		
		for(int i = 90; i<=270; i+=10){
			try{
				System.out.print("Setting rudder to " + i + " degrees.");
				boat.com.sendMessage("set rudder " + i);
				Thread.sleep(1000);
			}catch(Exception e){
				e.printStackTrace();
			}
		}
	}