added header file, added delays for sensing, Required functionality good to go