SDN programming assignment 4