Existing code added
Added code by St. Elmo done for his CSC 411 project.