Add code to randomly choose optimistic neighbor if # of preferred neighbors is = to # of peers.