MessageAdapter(messages: ArrayList<ChatMessage!>!, sender: String!)
Constructor method to set up MessageAdapter
messages - ArrayList<ChatMessage!>!: list of messages
messages
sender - String!: uid of current user
sender