Create friendcounting.java