minor changes to util + problem 8 in core
Problem 8 solved