Given a one word lowercase string txt, return another string such that even-indexed and odd-indexed characters are grouped and groups are space-separated.
even_odd_string("mubashir") β "mbsi uahr"
# Letters at even indexes = "mbsi"
# Letters at odd indexes = "uahr"
# Join both strings with a space
even_odd_string("sample") β "sml ape"
even_odd_string("airforce") β "aroc ifre"
There will be no space in the given string.