some projecteuler solutions and a maxheap/heap sort