Task 7 and 8 Added
Task 4-5 UPD Increased speed and Fixed some bugs