submitted assignment 3 problem 4 - asymmetric friends