How to use multiple LEDs

So how did you produce that code?
Is this a class assignment?
What sort of Arduino is this?