Exercises practise for function definitions