Added Capsule class and CapsuleTests (John K, Sam N).