Basic functionality of a social network implemented in Java.