Update on program 8

The program is closer to working, having a problem with the nested list
still