Solved bug in timer interrupt and updated task3 to blink leds