Renamed run() to solve()