Added solutions for Methods exercises