added 3- 5 of the readme AI

uploaded logic for the corners and middle edges logic.