Lines 33-37: capitalized java algo