Interactive Generic Algorithm in Modules