Revised Three_Of_A_Crime

Split into functions, and improved the logic and clear screen