Create a function that takes a string str and performs simple encoding as per the following method:
[]Return the final string after modification.
simple_encoder("Mubashir") ➞ "[[[[[[[["
# '[' for each character
simple_encoder("Matt") ➞ "[[]]"
# ']' for both 't'
simple_encoder("eD aBiT") ➞ "[[]][[[["
# Two spaces in between