A Function for Collecting Coins - Lines Academy