reindented the pseudo code
attributes added
Added enums, and started coding