public static void main(String[] args) {
		if(args.length == 3) {
			int hours = -1, start = -1, end = -1;
			try {
				hours = Integer.parseInt(args[0]);
				start = Integer.parseInt(args[1]);
				end = Integer.parseInt(args[2]);
			} catch(Throwable t) {
				System.out.println("One of the arguments was not a number");
			}
			if(hours > 0 && start <= hours && start > 0 && end <= hours && end > 0) {
			
				Puzzle myPuzzle = (Puzzle) new Clock(hours, start, end);	
				ArrayList< Puzzle > solution = Solver.solve(myPuzzle);
				
				if(solution != null) {
					for( int i = 0; i < solution.size(); i++ ) {
						System.out.println("Step " + Integer.toString(i) + ": " + solution.get(i));
					}
				} else {
					System.out.println("No Solution...");
				}
			
			} else {
				System.out.println("Arguments invalid");
			}
		} else {
			System.out.println("Usage: java Clock hours start goal");
		}
	}