Fixed some semicolon mistakes in task2

Signed-off-by: Tim Sanwald <sanwald.tim@googlemail.com>