Added i-ching to main program
Moved conditions generation to a separate function
Changed collapses formatting
Setting target card from arguments list