Version 0.6. Add object pools for set.Element and tt.Solution

Adding these object pools makes program spend less time in the garbage
collector (from 50+% down to ~40%) as determined by --profile.