Added codes I have written so far.