tidy up solutions.
Merge pull request #12 from ayr0/arrayprobs

tidy up solutions.