Create a function that converts a word to a bitstring and then to a boolean array based on the following criteria:
1 and even positions will be represented as 0.1 for true and 0 for false.to_boolean_array("deep") ➞ [false, true, true, false]
# deep converts to 0110
# d is the 4th alphabet - 0
# e is the 5th alphabet - 1
# e is the 5th alphabet - 1
# p is the 16th alphabet - 0
to_boolean_array("loves") ➞ [false, true, false, true, true]
to_boolean_array("tesh") ➞ [false, true, true, false]A is at position 1 and Z at 26.