Adding code assigments

Two code assigments I did for an interview before.