Adding working version of Linear Feedback Shift Register