Problem-solving through coding