simplified code, changed varnam x to xs, added pluck, fixed bug in compose
fixed syntax errors/missing return statements, and added core preliminary rectangle code