added autonomous code to stop at ir sensor