Previous passwords functionality

The program keeps and displays the last 8 passwords.