Code

Following is the implementation for each subproject