Added C solutions