water bucket problems in c completed :D