Circuit Details
Transistors M1 and M3 resemble the series connected complementary pair from the inverter circuit . 
Both are controlled by the same input signal input 1 the upper transistor turning off and the lower transistor turning on when the input is high 1 and vice versa . 
Transistors M4 and M2 are similarly controlled by the same input signal input 2 and they will also exhibit the same on/off behavior for the same input logic levels . 
The upper transistors of both pairs M1 and M4 have their source and drain terminals paralleled, while the lower transistors M3 and M2 are series connected . 
This means that the output will go high 1 if either top transistor saturates, and will go low 0 only if both lower transistors saturate . 
If both the inputs 1 and 2 are HIGH inputs, which make the MOSFETs M3  M2 to be turned ON and M1, M4 to be turned OFF . 
Field-effect transistors particularly the insulated-gate variety  are used in the design of gate circuits. 
Being voltage controlled rather than current-controlled devices, IGFETs tend to allow very simple circuit designs . 
Pulsated input is provided at inputa, inputb , vdd for dc and output is obtained .

Problems faced
I faced lots of problems due to source details and transient time. 
While openining the .cir file with ngspice it took more than 5 minutes and most of the times it reported some error as it took too long also the project was closed automatically several times .

This was my first Hackathon and i learned something new, these 2 weeks were full of knowledge and hardships . I am looking forward to participate in future FOSSEE Hackathons .
Thank you for this wonderful apportunity.