Added translate function for protein translation from exercise 08