Inductive Program Synthesis through using Monte Carlo Tree Search guided by a heuristic-based loss function