Finnick has recently set up an Instagram account and needs to create a secure password for it. He has chosen to use an array of words and subroutines to do this for him. Do the following tasks:
Task 1: Create an array of 10 words with at least 6 characters in each word.
Task 2: Create a subroutine to randomly select one of the words from the array.
Task 3: Create a subroutine to reverse the selected word.
(Hint: For string reversal, explore a concept called "slicing")