Chapter5: solution 5-10 added (first try)