Added class for previous passwords

A class that holds the last 8 passwords, changed the GUI to include a
list for the passwords.