added simple reboot function and simple example on readme