completed shell and bubble and added javadocs to both