pokemon simulation with rails