SDN programming assignment 2