Removed old math/misc.go
Added solutions 5 and 6