Update madlibs.py

Offline mode offered although in the offline mode the type of the missing words wont be shown unlike the online mode. The online mode works at times and doesnt work at other times depending on the availabilty of the server