added vim .swp files to gitignore
implementation of the table printing function + test with aip