Problem 003 - Ruby and C