Added ranking functionality for artificial intelligence. Major feature remaining is evaluation function for AI decision making