a0132509l:Finished my assignment

used double switch