This artificial intelligence teaches robots to walk--by creating custom obstacle courses