Main

Contains Main as well as individual methods corresponding to each separate answer.