Added James' java file for Assignment 1; moved //basic operation comment to innermost loop