Solution for Problem001 with Vala