fix issue #43
- added 'build learning_switch' to Rakefile
- deteled learning_switch.sh and Makefiles