fixed bugs and added randomization. Removed click after pipe is full