My attempts at Rosalind's exercises