Made code slightly more efficient and randomized colors