My sweeper written in swift language