beginning to create the programme

commit before messing around with the loop
print prev_cube

commit before I define working and previous cubes needed to carry
changes through the loop