Adding F# answers to problems 1-5.