Java docs have now been Implemented

I have added javadocs comments to all the methods