added pseudocoding to tues