Q Learning Python Example Main