Add documentation to TwoA.java