SDN programming assignment 3