added Vlad solution to ch04 ex01 and ex02