Autonomous lab for accelerating materials discovery