Ruby OO triangle methods for Epicodus