Solved Problem 4.a, 4.b. Fixed Problem 2 (replaced Float by Decimal).