This is my version of the friends classes assignment, feel free to copy, modify and redistribute