Code developed for SSE 635 at Mercer University