Added Algorithms for faster result

-Initiated adding two player functionality (AI vs User)
-cleared codes
-Added mthd to create random number for unpredictability
-extracted methods for code reusability