Formatted code (finalising code)

Signed-off-by: dgonca01 <dion_goncalves@yahoo.co.uk>