Turn LEDs on according to the switched pressed

Changes the color of a RGB led according to the switched that is
pressed, in the Freescale Freedom FRDM-K64F development platform