Problem 8, F#
Problem 9, F#
Problem 7, F#