added comments
updated comments
added print functions and list filtering functions
implemented explored list to backtrack more reliably