Initial commit for the program. Error detections not included.