Added code to send if programming esrcise is correct or not back to the frontend