Adding tennis.py to assignments

an example for finite automata using a tennis game