update util.py and README
problem 41
problem 26
problem 27
problem 28
problem 47