added more functions of deck class, added .gitignore