Updated solutions for 17.1-17.3
Added unit testings for 17.1-17.3