Added new implementation + Completed documentation + Fixed Indentation

Added new implementation + Completed documentation + Fixed Indentation