Near-final implementation of algorithms

Created Sentence.java and added some styling changes.