one easy one hard
fixing up codeeval