Different texture pictures to surfaces of a dice


I wants to map a texture to my box to create a dice, and I am trying the code given in "Starter Tutorial 4 - Hello States".

However in that tutorial all surfaces of a box is mapped to the same picture.

Any one knows how to map different pictures to different surfaces of a box to make a dice?