Thanks Sam, Thats one more thing in my head I can use in the algorithms problem.. grr I'm hoping they give us a standard one this year and don't ask anything too complex..