Added ex. 5 - warning! extremly slow for >9 improvements, where is the bug?