Rewrote partition function in Utils
Fixed style
Solved problem 41 - 50 (except 44)
Solved problem 41-50 except 44