inventor invents a patent for the steam locomotive .