Added constructor and 2d int array for pixels