Add c, cpp, java, javascript solutions to challenge 21

Signed-off-by: James Durand <james.durand@corvisa.com>