Tents puzzle solver written for Computer Organization project, winter 2012-13