Created pixel class to store data for an individual pixel block.