Exercise 4.6
Write a datatype Tuple which can hold one, two, three or four elements,depending on the constructor (that is, there should be four constructors, one for each
number of arguments). Also provide functions
tuple1 through tuple4 which take atuple and return
Just the value in that position, or Nothing if the number is invalid (i.e., you ask for the tuple4 on a tuple holding only two elements)