Implement the forward pass of a sequence-to-sequence (seq2seq) model using a simple RNN for both the encoder and decoder.