Added cortical action for "a = b * c"
Added action_build.py to reduce duplication

Refactored thalamus.py and cortical.py to use action_build.py.