Added some comments and floating point calculations.
Added the fourth and fifth exercises.