Insertsort in all it's glory