Started adding documentation. Switched from switch-case statements to if statements because of the difficulty of using strings with switch-case statemnets.