Renamed solve method and edited comment that was wrong