I\'m having a hard time with an exercise for my uni:(
So, the exercise asks to write a method that takes as an argument a Function and result type a F