added driver program, fixed puzzle printing