Programming exercises in dart