submitting programming assignment#1 - try 1