Grey scale conversion - first version, not parellel solution