Adding equlibrium function, end game function, and probability function. Not functional yet.