Document the Java solution's precise functionality
Test feasibility of each solution in debug mode
Style