Added logging function to actions.py

Fixed error handling in Alternative.eval.
Implemented the first sub-task in the tool language (see file_changes.tool)