updated my java files to non-abstract and add the print statements