Added: COmments and Javadoc to existing code added from Moh's assignment