Update dictionary.py

-Added the connect() method, not yet complete.
-Added the to_server method, not yet complete.