Used heap instead of file i/o
Added output statements and move counter
file test
increased testing range