Create CheckCycle.cpp

I implemented a singly linked list here with methods to view, check for duplicates and check for cycles within the list. All three method algorithms run in O(n) time.