added previous solution to teddit exercise