Add solutions to assignment 4 for RP