Path Planning And Control For Mobile Robots Using Machine Learning