Fully functional code for week 1's exercise

RPSLS, it's very easy.